﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports roncliProductions.LibWowArmory.Enums

Namespace roncliProductions.LibWowArmory.Data

    ''' <summary>
    ''' A class containing information about a character class.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class CharacterClass

        ''' <summary>
        ''' The class ID number.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ID As Integer

        ''' <summary>
        ''' The value of the mask.  Used for flags.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks>This seems to always be 2 ^ (classID - 1).</remarks>
        Public Property Mask As Integer

        ''' <summary>
        ''' The power type that this class uses for special abilities.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property PowerType As PowerType

        ''' <summary>
        ''' The name of the class.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        Protected Friend Sub New(intID As Integer, intMask As Integer, ptPowerType As PowerType, strName As String)
            ID = intID
            Mask = intMask
            PowerType = ptPowerType
            Name = strName
        End Sub

    End Class

End Namespace